// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_aliases
// * CreateDate    : 2014-06-05 18:29:54
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:54
// * LastChanger   : 2014-06-05 18:29:54
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmAliasesTable : TableInfo
    {
		public const string C_TableName = "hm_aliases";
		
		public const string C_aliasid = "aliasid";
		public const string C_aliasdomainid = "aliasdomainid";
		public const string C_aliasname = "aliasname";
		public const string C_aliasvalue = "aliasvalue";
		public const string C_aliasactive = "aliasactive";
		
		public HmAliasesTable()
        {
            _tableName = "hm_aliases";
        }
		
		protected static HmAliasesTable _current;
        public static HmAliasesTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmAliasesTable();

            _current.Add(C_aliasid, new ColumnInfo(C_aliasid,"Aliasid", true, typeof(int)));
            _current.Add(C_aliasdomainid, new ColumnInfo(C_aliasdomainid,"Aliasdomainid", false, typeof(int)));
            _current.Add(C_aliasname, new ColumnInfo(C_aliasname,"Aliasname", false, typeof(string)));
            _current.Add(C_aliasvalue, new ColumnInfo(C_aliasvalue,"Aliasvalue", false, typeof(string)));
            _current.Add(C_aliasactive, new ColumnInfo(C_aliasactive,"Aliasactive", false, typeof(byte)));
			
		}
		
		public ColumnInfo aliasid
        {
            get { return this[C_aliasid]; }
        }
		
		public ColumnInfo aliasdomainid
        {
            get { return this[C_aliasdomainid]; }
        }
		
		public ColumnInfo aliasname
        {
            get { return this[C_aliasname]; }
        }
		
		public ColumnInfo aliasvalue
        {
            get { return this[C_aliasvalue]; }
        }
		
		public ColumnInfo aliasactive
        {
            get { return this[C_aliasactive]; }
        }
		
		
		
	}
}

